package com.singlemusic.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private String userid;
	private String username;
	private String userpassword;
	private String usersex;
	private String regdate;
	private Set songcommentses = new HashSet(0);
	private Set musiclistses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String userid, String username, String userpassword,
			String usersex, String regdate) {
		this.userid = userid;
		this.username = username;
		this.userpassword = userpassword;
		this.usersex = usersex;
		this.regdate = regdate;
	}

	/** full constructor */
	public Users(String userid, String username, String userpassword,
			String usersex, String regdate, Set songcommentses, Set musiclistses) {
		this.userid = userid;
		this.username = username;
		this.userpassword = userpassword;
		this.usersex = usersex;
		this.regdate = regdate;
		this.songcommentses = songcommentses;
		this.musiclistses = musiclistses;
	}

	// Property accessors

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpassword() {
		return this.userpassword;
	}

	public void setUserpassword(String userpassword) {
		this.userpassword = userpassword;
	}

	public String getUsersex() {
		return this.usersex;
	}

	public void setUsersex(String usersex) {
		this.usersex = usersex;
	}

	public String getRegdate() {
		return this.regdate;
	}

	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}

	public Set getSongcommentses() {
		return this.songcommentses;
	}

	public void setSongcommentses(Set songcommentses) {
		this.songcommentses = songcommentses;
	}

	public Set getMusiclistses() {
		return this.musiclistses;
	}

	public void setMusiclistses(Set musiclistses) {
		this.musiclistses = musiclistses;
	}

}